package com.idemon.springbootcache;

public class Userinfo {

    private String username;
    private int userage;

    public Userinfo() {
    }

    public Userinfo(String username, int userage) {
        this.username = username;
        this.userage = userage;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserage() {
        return userage;
    }

    public void setUserage(int userage) {
        this.userage = userage;
    }

    @Override
    public String toString() {
        return String.format("Userinfo(username = %s,userage = %d)",username,userage);
    }
}
